package com.eric.dao;

import com.eric.entity.Roles;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RolesDao {
    void saveOneRole(Roles roles);

  Roles getOneById(Integer role_id);

    List<Roles> getAllRoles();


}
